package com.bsc.rtc.lib.libraries.MsgDispatchDemo;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.ViewGroup;
import android.widget.LinearLayout;

public class MViewFroup extends LinearLayout {
    public MViewFroup(Context context) {
        super(context);
    }

    public MViewFroup(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MViewFroup(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        Log.i("dispatch","MViewFroup onTouchEvent=>"+super.onTouchEvent(event));
        return super.onTouchEvent(event);
    }

    @Override
    public boolean dispatchTouchEvent(MotionEvent ev) {
        Log.i("dispatch","MViewFroup dispatchTouchEvent=>"+super.dispatchTouchEvent(ev));
        return super.dispatchTouchEvent(ev);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        Log.i("dispatch","MViewFroup onInterceptTouchEvent=>"+super.onInterceptTouchEvent(ev));
        return super.onInterceptTouchEvent(ev);
    }
}
